/** 
 * redmicro all Copyright (c) 
 * Created by seeker910 on 2015/6/30.
 * @desc 推广码选择器
 */
Rsd.define('Rsd.tool.PromotionCodeSelector', {
    extend: 'Rsd.form.Text',
    requires:[],
    xtype: 'promotion-selector',
    border:false,
    selector:{ 
      viewerType:'Rsd.zen.dialog.ListDialog',
      //modelType:'Rsd.UnionApp.Site.Models.Page',
      title:'推广码选择',
      width:1200,
      valueMember:'PagePath',
      textMember:'PageText',
      gridColumns:[ 
            {text:'推广码', width:250,dataIndex:'Title'},
            {text:'说明', width:700,dtaIndex:'Price'},
        ]
    },
    /** 
    * 
    */
    constructor: function LinkSelector (config) {
        
        this.apply(config||{});
        console.log('document.getElementById(promotion_code_selector_service)');
    }
    
  
});
